package com.zb.mobile;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @Author WEN
 * @Date 2023/11/9 0009
 **/
@Data
@ApiModel("客户个人信息对象")
public class UserMobileInfoVo {

    @NotBlank(message = "客户姓名不能为空")
    @Length(message = "客户姓名长度限制 100 个字符")
    @ApiModelProperty(value = "客户姓名", required = true)
    private String name;

    @Length(message = "昵称长度限制 100 个字符")
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @Length(message = "头像长度限制 300 个字符")
    @ApiModelProperty(value = "头像")
    private String avatar;
}
